package javawdw.security.spi;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class IResult {
	private int success;
	private int failure;
	
	public IResult() {
		
	}

	public int getSuccess() {
		return success;
	}

	public void setSuccess(int success) {
		this.success = success;
	}

	public int getFailure() {
		return failure;
	}

	public void setFailure(int failure) {
		this.failure = failure;
	}
	
	public void addSuccess() {
		this.success++;
	}
	
	public void addFailure() {
		this.failure++;
	}
}